package com.guinea.core.web;

import java.io.Serializable;

import javax.servlet.Servlet;

import org.apache.struts.action.ActionServlet;
import org.apache.struts.validator.ValidatorForm;



/**
 * Base ActionForm bean. Used to give child classes readable
 * representation of their properties using toString() method.</p>
 *
 * <p>Also has a validate() method to cancel validation on cancel actions.</p>
 * 
 * <p><a href="BaseForm.java.html"><i>View Source</i></a></p>
 *
 * @author <a href="mailto:matt@raibledesigns.com">Matt Raible</a>
 * @version $Revision: 1.7 $ $Date: 2005-04-11 15:09:49 -0600 (Mon, 11 Apr 2005) $
 */
public class BaseForm extends ValidatorForm implements Serializable {
	private static final long serialVersionUID = 3257005453799404851L;
	private Long id;
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	public ActionServlet getServlet(){
		return super.getServlet();
	}
}
